#include "Actor.h"

namespace Alice
{
    void Actor::FinishAddComponent(ActorComponent* inComponent)
    {
        if(inComponent->mbAutoRegister)
        {
            inComponent->OnComponentCreated();
            inComponent->RegisterComponent();
        }
    }
}
